package com.ruoyi.system.api;

import com.ruoyi.system.api.factory.RemoteChanceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;

/**
 * 视频号
 *
 * @author ruoyi
 */
@FeignClient(name = "remoteChanceConcatService",contextId ="remoteChanceConcatService",url = "${video_url}", fallbackFactory = RemoteChanceFallbackFactory.class)
public interface RemoteChanceService
{

    @PostMapping(value = "/finder/finder_detail", consumes = MediaType.APPLICATION_JSON_VALUE,
            produces = MediaType.APPLICATION_JSON_VALUE)
    String finderDetail(@RequestBody HashMap<String,Object> map);
}
